package com.rao.gmall.product;

import com.rao.gmall.common.config.MybatisPlusConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

/**
 * @author nzmxfan
 * @create 2021-07-31-15:17
 */
@SpringCloudApplication
@EnableFeignClients("com.rao.gmall.feign.search")
@Import(MybatisPlusConfig.class)  // 单独导入 MyBatis-Plus 的配置
public class ServiceProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceProductApplication.class, args);
    }
}
